<?php
namespace haibao\cms\business\starpk;
use haibao\cms\business\BusinessException;
use haibao\cms\data\starpk\StarPkCelebrity as StarPkCelebrityData;
class StarPkCelebrity extends \haibao\cms\business\Base{
    
	public static function updateStarPkCelebrityVoteNum($starPkId,$celebrityId){
		if (!$starPkId){
			throw new BusinessException('明星PKId不能为空');
		}
		if (!$celebrityId){
			throw new BusinessException('明星Id不能为空');
		}
		$data = new StarPkCelebrityData();
		$data->updateStarPkCelebrityVoteNum($starPkId,$celebrityId);
	}
}